package com.explorati.design_pattern.structural.proxy.example2;

public class GamePlayer implements IGamePlayer {
	private String name = "";

	//Cglib需要一个空的构造器
	public GamePlayer() {
		super();
	}

	public GamePlayer(String name) {
		this.name = name;
	}

	@Override
	public void killBoss() {
		System.out.println(this.name + "在打怪！");
	}

	@Override
	public void upGrade() {
		System.out.println(this.name + "成功升了1级！");
	}

}
